package com.nuance.assignment.fileInfo.shared;

/**
 * Shared constants between server and client side. This is required so that
 * there is no mismatch or parameter names under which client is sending data
 * and under which server is expecting it
 * 
 * @author parag
 *
 */
public interface Constants {

	/**
	 * These constants are set as dataStoreName for each cellTable column Thus
	 * sorting column name is sent as one of these constants from client side.
	 * At server side, the comparator used to deal with sorting uses these
	 * constants to check which column to sort on.
	 */
	public static final String NAME = "NAME";
	public static final String PATH = "PATH";
	public static final String LENGTH = "LENGTH";
	public static final String CAN_READ = "CAN_READ";
	public static final String CAN_WRITE = "CAN_WRITE";
	public static final String CAN_EXECUTE = "CAN_EXECUTE";
	public static final String IS_FILE = "IS_FILE";
	public static final String IS_DIRECTORY = "IS_DIRECTORY";
	public static final String IS_HIDDEN = "IS_HIDDEN";
	public static final String IS_ABSOLUTE = "IS_ABSOLUTE";
	public static final String LAST_MODIFIED = "LAST_MODIFIED";

}
